package com.whu.waterworks.model;

import javax.persistence.Column;
import javax.persistence.Entity;import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;


/**
 * Antisseptic entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="T_ANTISSEPTIC"
    ,schema="ZJ"
)

public class Antisseptic  implements java.io.Serializable {


    // Fields    

     /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
    // private WaterWaterplant waterWaterplant;
     private String waterplantId;
     private String time;
     private String lvqi1;
     private String lvqi2;
     private String lvqi3;
     private String yla1;
     private String yla2;
     private String yla3;
     private String cy1;
     private String cy2;
     private String cy3;
     private String eyhl1;
     private String eyhl2;
     private String eyhl3;
     private String type;


    // Constructors

    /** default constructor */
    public Antisseptic() {
    }

	/** minimal constructor */
    public Antisseptic(Integer id) {
        this.id = id;
    }
    
    /** full constructor 
     * @param waterplantId1 */
    public Antisseptic(Integer id, String waterplantId, String time, String lvqi1, String lvqi2, String lvqi3, String yla1, String yla2, String yla3, String cy1, String cy2, String cy3, String eyhl1, String eyhl2, String eyhl3, String type) {
        this.id = id;
        this.waterplantId = waterplantId;
        this.time = time;
        this.lvqi1 = lvqi1;
        this.lvqi2 = lvqi2;
        this.lvqi3 = lvqi3;
        this.yla1 = yla1;
        this.yla2 = yla2;
        this.yla3 = yla3;
        this.cy1 = cy1;
        this.cy2 = cy2;
        this.cy3 = cy3;
        this.eyhl1 = eyhl1;
        this.eyhl2 = eyhl2;
        this.eyhl3 = eyhl3;
        this.type = type;
    }

   
    // Property accessors
    @Id    
    @Column(name="ID", nullable=false, precision=30, scale=0)
    @GeneratedValue(strategy=GenerationType.SEQUENCE,generator="ALERT_ID_SEQ_TEST")
	@SequenceGenerator(name="ALERT_ID_SEQ_TEST",sequenceName="SEQ_ANTISSEPTIC_ID",allocationSize=1)
    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }
	
    
  
    
   

	@Column(name="TIME", length=7)

    public String getTime() {
        return this.time;
    }
	  @Column(name="WATERPLANTID", length=20)
    public String getWaterplantId() {
		return waterplantId;
	}

	public void setWaterplantId(String waterplantId) {
		this.waterplantId = waterplantId;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public void setTime(String time) {
        this.time = time;
    }
    
    @Column(name="LVQI1", precision=5)

    public String getLvqi1() {
        return this.lvqi1;
    }
    
    public void setLvqi1(String lvqi1) {
        this.lvqi1 = lvqi1;
    }
    
    @Column(name="LVQI2", precision=5)

    public String getLvqi2() {
        return this.lvqi2;
    }
    
    public void setLvqi2(String lvqi2) {
        this.lvqi2 = lvqi2;
    }
    
    @Column(name="LVQI3", precision=5)

    public String getLvqi3() {
        return this.lvqi3;
    }
    
    public void setLvqi3(String lvqi3) {
        this.lvqi3 = lvqi3;
    }
    
    @Column(name="YLA1", precision=5)

    public String getYla1() {
        return this.yla1;
    }
    
    public void setYla1(String yla1) {
        this.yla1 = yla1;
    }
    
    @Column(name="YLA2", precision=5)

    public String getYla2() {
        return this.yla2;
    }
    
    public void setYla2(String yla2) {
        this.yla2 = yla2;
    }
    
    @Column(name="YLA3", precision=5)

    public String getYla3() {
        return this.yla3;
    }
    
    public void setYla3(String yla3) {
        this.yla3 = yla3;
    }
    
    @Column(name="CY1")

    public String getCy1() {
        return this.cy1;
    }
    
    public void setCy1(String cy1) {
        this.cy1 = cy1;
    }
    
    @Column(name="CY2")

    public String getCy2() {
        return this.cy2;
    }
    
    public void setCy2(String cy2) {
        this.cy2 = cy2;
    }
    
    @Column(name="CY3")

    public String getCy3() {
        return this.cy3;
    }
    
    public void setCy3(String cy3) {
        this.cy3 = cy3;
    }
    
    @Column(name="EYHL1")

    public String getEyhl1() {
        return this.eyhl1;
    }
    
    public void setEyhl1(String eyhl1) {
        this.eyhl1 = eyhl1;
    }
    
    @Column(name="EYHL2")

    public String getEyhl2() {
        return this.eyhl2;
    }
    
    public void setEyhl2(String eyhl2) {
        this.eyhl2 = eyhl2;
    }
    
    @Column(name="EYHL3")

    public String getEyhl3() {
        return this.eyhl3;
    }
    
    public void setEyhl3(String eyhl3) {
        this.eyhl3 = eyhl3;
    }
    
    @Column(name="TYPE", precision=1, scale=0)

    public String getType() {
        return this.type;
    }
    
    public void setType(String type) {
        this.type = type;
    }

}